#pragma once
#include "CBase.h"
#include "SGD Wrappers\CSGD_DirectInput.h"
#include "SGD Wrappers\CSGD_FModManager.h"

class CPlayerTank : public CBase
{
private:
	float	m_fCurrentRotation;
	float	m_fMaxForwardSpeed;
	float	m_fMaxReverseSpeed;
	float	m_fCurrSpeed;
	float	m_fAccel;
	float	m_fRotationRate;

	int m_nSoundIDMove;
	int m_nSoundIDInterior;
	int m_nSoundIDShoot;

	tVector2D m_tFacingDir;

public:
	CPlayerTank();
	void Update(float _fElapsedTime);
	void SetMoveSound(int _moveSound){m_nSoundIDMove = _moveSound;}
	void SetInteriorSound(int _soundInterior){m_nSoundIDInterior = _soundInterior;}
	void SetShootSound(int _soundShoot){m_nSoundIDShoot = _soundShoot;}
	void Render();
	RECT GetCollisonRect();
};